﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for CompetitionInfo
/// </summary>
public class CompetitionInfo
{
    private int competitionID;
    private string competitionName;
    private DateTime startDate;
    private DateTime endDate;   
    private string details;
    private string conditions;      
    private string url;



    #region properties
    public int CompetitionID
    {
        get { return competitionID; }
        set { competitionID = value; }
    }

    public string CompetitionName
    {
        get { return competitionName; }
        set { competitionName = value; }
    }

    public DateTime StartDate
    {
        get { return startDate; }
        set { startDate = value; }
    }

    public DateTime EndDate
    {
        get { return endDate; }
        set { endDate = value; }
    }

    public string Conditions
    {
        get { return conditions; }
        set { conditions = value; }
    }

    public string Details
    {
        get { return details; }
        set { details = value; }
    }   

    public string Url
    {
        get { return url; }
        set { url = value; }
    }
    #endregion
    #region constructor
    public CompetitionInfo()
	{
        competitionID = -1;
        competitionName = "";
        startDate = new DateTime();
        endDate = new DateTime();
        details = "";
        conditions = "";       
        url = "";
    }

    public CompetitionInfo(int _competitionID, string _competitionName, DateTime _startDate,
        DateTime _endDate, string _details, string _condititions, string _status, string _url)
    {
        this.competitionID = _competitionID;
        this.competitionName = _competitionName;
        this.startDate = _startDate;
        this.endDate = _endDate;
        this.details = _details;
        this.conditions = _condititions;      
        this.url = _url;
    }

    #endregion
}